package com.biu.billiards.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biu.billiards.model.bo.ShopBO;
import com.biu.billiards.model.entity.Shop;
import com.baomidou.mybatisplus.extension.service.IService;
import com.biu.billiards.model.vo.shop.AddShopVo;
import com.biu.billiards.model.vo.shop.GetShopVo;
import com.biu.billiards.model.vo.shop.UpdateShopVO;
import com.biu.billiards.model.vo.withdraw.AddWithdrawVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xue
 * @since 2023-09-25
 */
public interface IShopService extends IService<Shop> {



    Boolean autoWithdraw(AddWithdrawVo addWithdrawVo);

    Boolean getAutoOpenStatus(String shopId);


    Boolean getAutoStatus(String deviceId);



    Shop  getShop(Integer shopId);


    Boolean addWallet(Integer shopId, BigDecimal price);


    Boolean changeAutoStatus(GetShopVo getShopVo);

    List<ShopBO> getShopList(GetShopVo getShopVo);


    List<Shop> selectShopList();


    ShopBO getShop(GetShopVo getShopVo);

    IPage<ShopBO> getShopPage(GetShopVo getShopVo);

    Boolean updateShop(UpdateShopVO updateShopVO);

    Boolean addShop(AddShopVo addShopVo);

    Boolean deleteShop(Integer shopId);

}
